home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgLangD.iso / BORLAND TURBO / DYNAMN.PAK / DYNAMMAC.R < prev    next >
Encoding:
Text File  |  1997-05-06  |  3.3 KB  |  161 lines

  1. //  dynammac.r: Macintosh-specific resources
  2.  
  3. #include "resource.h"
  4. #include "types.r"
  5. #include "ftab.r"
  6. #include "systypes.r"
  7. #include "mrc\balloons.r"
  8. #include "CodeFrag.r"
  9.  
  10. resource 'SIZE' (-1)
  11. {
  12.     reserved,
  13.     acceptSuspendResumeEvents,
  14.     reserved,
  15.     canBackground,
  16.     doesActivateOnFGSwitch,
  17.     backgroundAndForeground,
  18.     dontGetFrontClicks,
  19.     ignoreAppDiedEvents,
  20.     is32BitCompatible,
  21.     isHighLevelEventAware,
  22.     localAndRemoteHLEvents,
  23.     isStationeryAware,
  24.     useTextEditServices,
  25.     reserved,
  26.     reserved,
  27.     reserved,
  28. #ifdef _MPPC_
  29.     2500 * 1024,
  30.     2500 * 1024
  31. #else    // 68K Mac
  32. #ifdef _DEBUG
  33.     3000 * 1024,
  34.     3000 * 1024
  35. #else
  36.     2000 * 1024,
  37.     2000 * 1024
  38. #endif
  39. #endif
  40. };
  41.  
  42. resource 'vers' (2)
  43. {
  44.     0x04,
  45.     0x00,
  46.     final,
  47.     0x00,
  48.     verUS,
  49.     "4.0",
  50.     "MFC for Macintosh 4.0"
  51. };
  52.  
  53. resource 'BNDL' (IDR_MAINFRAME, purgeable)    // dynamenu bundle resource ID
  54. {
  55.     'DYNA',                 // dynamenu signature
  56.     0,                      // resource ID of signature resource:
  57.                             // should be 0
  58.     {
  59.         'ICN#',             // mapping local IDs in 'FREF's to 'ICN#' IDs
  60.         {
  61.             0, IDR_MAINFRAME,
  62.             1, IDR_DYMENUTYPE,
  63.         },
  64.         'FREF',             // local resource IDs for 'FREF's
  65.         {
  66.             0, IDR_MAINFRAME,
  67.             1, IDR_DYMENUTYPE,
  68.         }
  69.     }
  70. };
  71.  
  72. resource 'FREF' (IDR_MAINFRAME, purgeable)    // dynamenu application
  73. {
  74.     'APPL', 0,
  75.     ""
  76. };
  77.  
  78. resource 'FREF' (IDR_DYMENUTYPE, purgeable)    // dynamenu document
  79. {
  80.     'DYNA', 1,
  81.     ""
  82. };
  83.  
  84. type 'DYNA' as 'STR ';
  85.  
  86. resource 'DYNA' (0, purgeable)
  87. {
  88.     "DynaMenu Application"
  89. };
  90.  
  91. /* Balloon help resources */
  92.  
  93. resource 'hfdr' (-5696)
  94. {
  95.     HelpMgrVersion, hmDefaultOptions, 0, 0,
  96.     {
  97.         HMSTRResItem {500}
  98.     }
  99. };
  100.  
  101. resource 'hovr' (1000)
  102. {
  103.     HelpMgrVersion, hmDefaultOptions, 0, 0,
  104.  
  105.         HMStringItem    /* missing items override */
  106.         {
  107.             "Miscellaneous part of the Microsoft DynaMenu"
  108.             "Sample Application."
  109.         },
  110.         {
  111.             HMSkipItem {},  /* title bar */
  112.             HMSkipItem {},  /* reserved. always skip item here */
  113.             HMStringItem    /* close box */
  114.             {
  115.                 "Click here to close the Microsoft DynaMenu"
  116.                 "Sample Application."
  117.             },
  118.             HMStringItem    /* zoom box */
  119.             {
  120.                 "Click here to Zoom In or Zoom Out."
  121.             },
  122.             HMSkipItem {},  /* active app's inactive window */
  123.             HMStringItem    /* inactive app's window */
  124.             {
  125.                 "This is not part of the Microsoft DynaMenu"
  126.                 "Application. It may be part of the Apple "
  127.                 "Finder, or some other application."
  128.             },
  129.             HMSkipItem {}   /* outside modal dialog */
  130.         }
  131. };
  132.  
  133. #ifdef _MPPC_
  134. resource 'STR ' (500)
  135. {
  136.     "This is the Win32 DynaMenu sample application "
  137.     "ported to the Power Macintosh using Microsoft VC++ "
  138.     "Edition for the Apple Power Macintosh"
  139. };
  140. #else    // 68K Mac
  141. resource 'STR ' (500)
  142. {
  143.     "This is the Win32 DynaMenu sample application "
  144.     "ported to the Macintosh using Microsoft VC++ Edition "
  145.     "for the Apple Macintosh"
  146. };
  147. #endif
  148.  
  149. #ifdef _MPPC_
  150. resource 'cfrg' (0) {
  151.   {
  152.     kPowerPC,
  153.     kFullLib,
  154.     kNoVersionNum,kNoVersionNum,
  155.     0, 0,
  156.     kIsApp,kOnDiskFlat,kZeroOffset,kWholeFork,
  157.     ""
  158.   }
  159. };
  160. #endif
  161.